package com.learn.run;

import com.learn.config.TaskScheduleConfig;
import com.learn.service.ScheduledTaskService;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Author:Mark
 * @Description:
 * @Date: Created on 14:26 2018-11-13
 * @Modify by:
 */
public class TaskScheduleRun {

  public static void main(String[] args) {
    AnnotationConfigApplicationContext context=new AnnotationConfigApplicationContext(
        TaskScheduleConfig.class);
    System.out.println(context.getEnvironment().getProperty("os.name"));
  }

}
